package com.ios.common.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * IosBizOtherDetail entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "ios_biz_other_detail", catalog = "ios")
public class IosBizOtherDetail implements java.io.Serializable {

	// Fields

	private Long billOtherDetailId;
	private Long billOtherId;
	private Float money;
	private Long subject;
	private Integer billType;
	private String remark;

	// Constructors

	/** default constructor */
	public IosBizOtherDetail() {
	}

	/** minimal constructor */
	public IosBizOtherDetail(Long billOtherId) {
		this.billOtherId = billOtherId;
	}

	/** full constructor */
	public IosBizOtherDetail(Long billOtherId, Float money, Long subject,
			Integer billType, String remark) {
		this.billOtherId = billOtherId;
		this.money = money;
		this.subject = subject;
		this.billType = billType;
		this.remark = remark;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "native")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "bill_other_detail_id", unique = true, nullable = false)
	public Long getBillOtherDetailId() {
		return this.billOtherDetailId;
	}

	public void setBillOtherDetailId(Long billOtherDetailId) {
		this.billOtherDetailId = billOtherDetailId;
	}

	@Column(name = "bill_other_id", nullable = false)
	public Long getBillOtherId() {
		return this.billOtherId;
	}

	public void setBillOtherId(Long billOtherId) {
		this.billOtherId = billOtherId;
	}

	@Column(name = "money", precision = 12, scale = 0)
	public Float getMoney() {
		return this.money;
	}

	public void setMoney(Float money) {
		this.money = money;
	}

	@Column(name = "subject")
	public Long getSubject() {
		return this.subject;
	}

	public void setSubject(Long subject) {
		this.subject = subject;
	}

	@Column(name = "bill_type")
	public Integer getBillType() {
		return this.billType;
	}

	public void setBillType(Integer billType) {
		this.billType = billType;
	}

	@Column(name = "remark", length = 300)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}